package com.xdwanj.smartcity.util;

public class StringUtils {

    public static boolean isNullOrEmpty(String toTest) {
        return (toTest == null || toTest.length() == 0);
    }

    public static String replaceByImg(String value, String replacement) {
        return value.replaceAll("/prod-api", replacement + "/prod-api");
    }
}
